package ee.mtiidla.data;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by Marko on 12.10.2014.
 */
@XmlRootElement(name="LENEX")
@XmlAccessorType(XmlAccessType.FIELD)
public class Lenex {

	@XmlAttribute(name="version")
	private String version;

	@XmlElementWrapper(name="MEETS")
	@XmlElement(name="MEET")
	private List<Meet> meets;

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public List<Meet> getMeets() {
		return meets;
	}

	public void setMeets(List<Meet> meets) {
		this.meets = meets;
	}


}
